"""remove field weekday

Revision ID: f1ebd8bfc8f4
Revises: 3d49bab09b48
Create Date: 2024-06-13 10:34:35.716672

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'f1ebd8bfc8f4'
down_revision: Union[str, None] = '3d49bab09b48'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('schedules', 'weekday')
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('schedules', sa.Column('weekday', sa.VARCHAR(), autoincrement=False, nullable=False))
    # ### end Alembic commands ###
